package jge.application.commands;

import jge.command.Command;

public class ExitApplicationCommand implements Command {
	
	private int exitCode;

	public ExitApplicationCommand(int exitCode) {
		this.exitCode = exitCode;
	}
	
	@Override
	public void execute() {
		System.exit(this.exitCode);
	}

}
